import { DefaultFooter } from '@ant-design/pro-components';
import { useIntl } from '@umijs/max';
import React from 'react';

const Footer: React.FC = () => {
  const intl = useIntl();
  const defaultMessage = '重庆广电数字技术有限责任公司';

  const currentYear = new Date().getFullYear();

  return (
    <DefaultFooter
      style={{
        background: 'none',
      }}
      copyright={<><div style={{ display: 'inline-block' }}>{currentYear} {defaultMessage}</div><div style={{ marginTop: 10 }}>技术支持 房一 13220207320</div></>}
      links={[
        {
          key: '备案号：渝ICP备2021004499号-4',
          title: ' 备案号：渝ICP备2021004499号-4',
          href: 'https://beian.miit.gov.cn/#/Integrated/index',
          blankTarget: true,
        },
      ]}
    />
  );
};

export default Footer;
